package com.house.system.domain;

import com.house.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 中介房屋关联对象对象 house_medium
 * 
 * @author tc
 * @date 2022-02-25
 */
public class HouseMedium extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房屋编号 */
    private Long houseId;

    /** 房屋中介编号 */
    private Long userId;

    public void setHouseId(Long houseId) 
    {
        this.houseId = houseId;
    }

    public Long getHouseId() 
    {
        return houseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("houseId", getHouseId())
            .append("userId", getUserId())
            .toString();
    }
}
